package com.wzx.user.test.controller;

import com.wzx.common.exception.LeadNewsException;
import com.wzx.user.test.service.TestUserServcie;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/12/20 - 17:35
 * @description 标题
 */
@Slf4j
@RestController
//@RequestMapping("/testUser")
@Api(tags = "创建用户")
public class ControllerByUser {

    @Autowired
    private TestUserServcie testUserServcie;

    //@GetMapping("/createUser")
    public void createUser() throws LeadNewsException {
        testUserServcie.createUser();
    }


}
